package controller;

import gui.Scene;
import model.Model;

/**
 * Controller class that handles actions and inputs for scene of system
 * 
 * @author Troy Ferrell
 */

public class SceneController extends AbstractController
{
	public SceneController(Model model) 
	{
		super(model);
	}
	
	/**
	 * Add turtle to scene
	 * 
	 * @param target
	 */
	public void addNewTurtle(Scene target)
	{
		this.myModel.addTurtle();
		target.repaint();
	}
	
	/**
	 * Zoom in on scene
	 * 
	 * @param target
	 */
	public void zoomIn(Scene target)
	{
		target.zoomIn();
		target.repaint();
	}
	
	/**
	 * Zoom out of scene
	 * 
	 * @param target
	 */
	public void zoomOut(Scene target)
	{
		target.zoomOut();
		target.repaint();
	}
	
}
